package com.voice.server.service;

import com.voice.server.entity.Role;
import com.wangjiacai.hqlQuery.service.BaseService;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface RoleService extends BaseService {

    long getRoleListNum(Role role);

    List<Role> getRoleList(Role role, Pageable pageable);

    List<Role> getAllRoleList();

    void assignRoleFunctionByBhs(String bhs, String roleId);

    Role addRole(Role role);

    void deleteRole(String id);

}
